﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Brain.Animation;

namespace Brain
{
    public struct Frame_double : IKeyframe<double>
    {
        public GetGeneric<double> Get { get; set; }

        public SetGeneric<double> Set { get; set; }

        public double Value { get; set; }

        public int Time { get; set; }

        public double Lerp(double value1, double value2, float amount)
        {
            return DoubleUtil.Lerp(value1, value2, amount);
        }
    }
}
